//
//  TabMineAllActivityController.swift
//  d11
//
//  Created by mac on 2018/1/28.
//  Copyright © 2018年 Tech_001. All rights reserved.
//

import UIKit

class TabMineAllActivityController: UIViewController{
    var activityDatas: [[String:Any]]?
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
      self.hidesBottomBarWhenPushed=true
        let backItem = UIBarButtonItem()
        backItem.title = " "
      self.navigationItem.backBarButtonItem = backItem
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        automaticallyAdjustsScrollViewInsets = false
        navigationController?.navigationBar.isTranslucent = false
        
        self.tabBarController?.tabBar.isHidden=true
        self.navigationItem.title="优惠活动"
      
        if let tabVc = FindVC.instanceFromStoryboard(){
            view.backgroundColor=UIColor.red
        tabVc.activityDataChange = activityDatas
        tabVc.mtNavigation=self.navigationController
        tabVc.navH =  self.navigationController?.navigationBar.frame.size.height
        self.view.addSubview(tabVc.view)
         //   self.addChildViewController(tabVc)
            
        }
    }
}
